package com.koron.css2.serviceManage.bean;

import com.koron.css2.baseConfig.bean.BaseBean;
import com.koron.util.Check;
import com.koron.util.Check.Repeat;

/**
 * 营业网点表
 */
public class BusinessBranchBean extends BaseBean {

    /**
     * 网点编码
     */
	@Check(name = "网点编码", repeat = @Repeat(tableName = "PUB_BUSINESS_BRANCH",fieldName="branchNo",columnName="branch_no"))
    private String branchNo;
    /**
     * 网点名称
     */
	@Check(name = "网点名称", repeat = @Repeat(tableName = "PUB_BUSINESS_BRANCH",fieldName="branchName",columnName="branch_name"))
    private String branchName;
    /**
     * 网点地址
     */
	@Check(name = "网点地址", notEmpty = true, notNull=true)
    private String branchAddr;
    /**
     * 网点坐标
     */
    @Check(name = "网点坐标", notEmpty = true, notNull=true,pattern = "^[0-9\\\\\\\\.]{1,30},[0-9\\\\\\\\.]{1,30}$")
    private String branchOpsition;
    /**
     * 联系电话
     */
    @Check(name = "联系电话", notEmpty = true, notNull=true, min = 7)
    private String telephone;
    /**
     * 营业时间
     */
    @Check(name = "营业时间", notEmpty = true, notNull=true)
    private String businessTime;
    /**
     * 备注
     */
    private String comments;
    /**
     * 状态
     */
    @Check(name = "状态", notEmpty = true, notNull=true)
    private Integer status;
    /**
     * 排序号
     */
    @Check(name = "排序号", notEmpty = true, notNull=true)
    private Integer sortNo;
    /**
     * 水司编号
     */
    private String groupCode;

    public String getBranchNo() {
        return branchNo;
    }

    public void setBranchNo(String branchNo) {
        this.branchNo = branchNo;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getBranchAddr() {
        return branchAddr;
    }

    public void setBranchAddr(String branchAddr) {
        this.branchAddr = branchAddr;
    }

    public String getBranchOpsition() {
        return branchOpsition;
    }

    public void setBranchOpsition(String branchOpsition) {
        this.branchOpsition = branchOpsition;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getBusinessTime() {
        return businessTime;
    }

    public void setBusinessTime(String businessTime) {
        this.businessTime = businessTime;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

}
